package com.jwork.progress.pojo.dto.calculator;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "计算结果")
public class GetCalResDTO implements Serializable {
    @ApiModelProperty("运算")
    @NotBlank
    private String opName;

    @ApiModelProperty("值1")
    @NotNull
    private int a;

    @ApiModelProperty("值2")
    @NotNull
    private int b;
}
